package com.rboat.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rboat.common.annotation.Excel;
import com.rboat.common.core.domain.BaseEntity;

/**
 * 博主对象 blog_master
 * 
 * @author rboat
 * @date 2019-11-05
 */
public class BlogMaster extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 博主名称 */
    @Excel(name = "博主名称")
    private String masterName;

    /** 密码 */
    @Excel(name = "密码")
    private String masterPassword;

    /** 博主oicq(三方id) */
    @Excel(name = "博主oicq(三方id)")
    private String masterOicq;

    /** 0:女;1:男 */
    @Excel(name = "0:女;1:男")
    private String masterSex;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMasterName(String masterName) 
    {
        this.masterName = masterName;
    }

    public String getMasterName() 
    {
        return masterName;
    }
    public void setMasterPassword(String masterPassword) 
    {
        this.masterPassword = masterPassword;
    }

    public String getMasterPassword() 
    {
        return masterPassword;
    }
    public void setMasterOicq(String masterOicq) 
    {
        this.masterOicq = masterOicq;
    }

    public String getMasterOicq() 
    {
        return masterOicq;
    }
    public void setMasterSex(String masterSex) 
    {
        this.masterSex = masterSex;
    }

    public String getMasterSex() 
    {
        return masterSex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("masterName", getMasterName())
            .append("masterPassword", getMasterPassword())
            .append("masterOicq", getMasterOicq())
            .append("masterSex", getMasterSex())
            .toString();
    }
}
